import enum


class PayWayStatusEnum(enum.IntEnum):
    enable = 1
    disable = -1


class PayWayTypeEnum(enum.IntEnum):
    ali_page_pay = 1  # 支付宝网页支付
    ali_wap_pay = 2  # 支付宝手机网站支付
    ali_app_pay = 3  # 支付宝app支付


class PayWayThirdCodeEnum(enum.IntEnum):
    ali = 1


class AliPayTradeStatusEnum(enum.Enum):
    TRADE_CLOSED = "TRADE_CLOSED"
    TRADE_FINISHED = "TRADE_FINISHED"
    TRADE_SUCCESS = "TRADE_SUCCESS"
    WAIT_BUYER_PAY = "WAIT_BUYER_PAY"
